﻿#include "pch.h"
#include "SvgText.h"

void CSvgText::initialObject(void)
{
	scale = 1;
	fontSize = 20;

	////似乎各类浏览器都默认为黑色
	fill = SVG_COLOR_FILL_DEFAULT;

	/////default:
	width = 56;
	height = 20;

	transform.Empty();
}

CSvgText::CSvgText(void)
{
	initialObject();
}

CSvgText::~CSvgText(void)
{
}

CSvgText::CSvgText(const TCHAR* aObjSvgType) :CSvgObject()
{
	initialObject();
	objectSvgType = CString(aObjSvgType);
}

CString CSvgText::toString(void) {

	CString mstr;
	mstr.Format(_T("unfinished"));
	return mstr;
}

